import request from "@/utils/request";

//获取巡检对象告警
export function API_getalarmInfo(query) {
  return request({
    url: "/alarm.record/patrol.alarm.info.get",
    method: "get",
    params: query,
  });
}
//获取环境告警
export function API_getenvalarmInfo(query) {
  return request({
    url: "/alarm.record/env.alarm.info.get",
    method: "get",
    params: query,
  });
}
//获取系统告警
export function API_systemalarmInfo(query) {
  return request({
    url: "/alarm.record/system.alarm.info.get",
    method: "get",
    params: query,
  });
}